package com.youkeyi.ddy.cloud.common.api.application.system.doc;

import com.youkeyi.ddy.cloud.common.api.application.system.doc.dto.SystemDocTypeListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.doc.param.SystemDocTypeCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.doc.param.SystemDocTypeDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.doc.param.SystemDocTypeListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.doc.param.SystemDocTypeUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * SystemDocTypeCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/system/doc/type/fallback")
public class SystemDocTypeCloudServiceFallback implements SystemDocTypeCloudService {

    @Override
    public SystemDocTypeListCloudDto list(SystemDocTypeListCloudParam param) {
        return new SystemDocTypeListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(SystemDocTypeCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(SystemDocTypeUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(SystemDocTypeDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
